package com.praveen.reminder;

public class ReminderData {
	private String mReminderText;
	private int mEntryNo;
	private int mDay;
	private int mMonth;
	private int mYear;
	private int mHour;
	private int mMinute;
	private int mRepeatFreq;
	
	public ReminderData(int e, String s, int d, int m, int y, int h, int min, int rep) {
		mEntryNo = e;
		mReminderText = s;
		mDay = d;
		mMonth = m;
		mYear = y;
		mHour = h;
		mMinute = min;
		mRepeatFreq = rep;
	}

	public ReminderData() {}

	public Pair<Integer, String> makeKey() {
		String key;
		key = Utility.pad(mYear) + Utility.pad(mMonth) + Utility.pad(mDay) + Utility.pad(mHour) + Utility.pad(mMinute);
		Pair<Integer, String>pair = new Pair<Integer, String>(mEntryNo, key);
		return pair;
	}

	public String getmReminderText() {
		return mReminderText;
	}

	public void setmReminderText(String mReminderText) {
		this.mReminderText = mReminderText;
	}

	public int getmEntryNo() {
		return mEntryNo;
	}

	public void setmEntryNo(int mEntryNo) {
		this.mEntryNo = mEntryNo;
	}

	public int getmDay() {
		return mDay;
	}

	public void setmDay(int mDay) {
		this.mDay = mDay;
	}

	public int getmMonth() {
		return mMonth;
	}

	public void setmMonth(int mMonth) {
		this.mMonth = mMonth;
	}

	public int getmYear() {
		return mYear;
	}

	public void setmYear(int mYear) {
		this.mYear = mYear;
	}

	public int getmHour() {
		return mHour;
	}

	public void setmHour(int mHour) {
		this.mHour = mHour;
	}

	public int getmMinute() {
		return mMinute;
	}

	public void setmMinute(int mMinute) {
		this.mMinute = mMinute;
	}
	
	public int getmRepeatFreq() {
		return mRepeatFreq;
	}

	public void setmRepeatFreq(int mRepeatFreq) {
		this.mRepeatFreq = mRepeatFreq;
	}
}
